package com.saraetangel.designPatterns;

import javax.swing.plaf.IconUIResource;

public class Singleton {
    private static final Singleton singleton = new Singleton();

    private  int Count = 0;
    private Singleton(){

    }

    public static Singleton getSingleton(){
        return singleton;
    }

    public  void doSomething(){

        System.out.println("Current Count:" + Count++);
    }
}
